﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SanguoSharp
{
    public interface ISpectatorEventListener : IEventListener
    {
        /// <summary>
        /// Called when the spectator successfully joins a session.
        /// </summary>
        /// <param name="control">
        /// The <see cref="ISpectatorSessionControl"/> instance for this spectator.
        /// </param>
        void OnJoinedSession(ISpectatorSessionControl control);
        /// <summary>
        /// Called when the spectator successfully joins a game.
        /// </summary>
        /// <param name="control">
        /// The <see cref="ISpectatorControl"/> instance for this spectator.
        /// </param>
        void OnJoinedGame(ISpectatorControl control);
    }
}
